package com.example.a10405.tmp.model;

import com.example.a10405.tmp.R;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 10405 on 2016/6/27.
 */
public class Point {
    private int id;//id
    private String name;
    private double latitude; // 精度
    private double longitude; //纬度

    public int[] getImgList() {
        return imgList;
    }

    private int[] imgList;//图片列表
    public static List<Point> pointList = new ArrayList<>();


    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public double getLatitude() {
        return latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public Point(int id,double lat, double lng, String name,
               int[] imgList){
        super();
        this.id = id;
        this.name = name;
        this.latitude = lat;
        this.longitude = lng;
    }

    static {
        pointList.add(new Point(1, 41.774338,123.426406, "东北大学",
                  new int[] {R.mipmap.i1_1, R.mipmap.i1_2,
                              R.mipmap.i1_3, R.mipmap.i1_4,}
        ));
        pointList.add(new Point(2,41.805405,123.464656, "沈阳中街",
                  new int[] {R.mipmap.i2_1, R.mipmap.i2_2,
                              R.mipmap.i2_3, R.mipmap.i2_4}
        ));
    }

}
